package constant
Import Path
github.com/K-Phoen/grabana/variable/constant (on go.dev)
Dependency Relation
imports 3 packages, and imported by one package
Involved Source Files
constant.go
Package-Level Type Names (total 3)
Constant represents a "constant" templated variable.
Builder sdk.TemplateVar
func New(name string, options ...Option) *Constant
Option represents an option that can be used to configure a constant.
func Default(value string) Option
func Hide() Option
func HideLabel() Option
func Label(label string) Option
func Values(values ValuesMap) Option
func New(name string, options ...Option) *Constant
func github.com/K-Phoen/grabana/dashboard.VariableAsConst(name string, options ...Option) dashboard.Option
Package-Level Functions (total 6)
Default sets the default value of the variable.
Hide ensures that the variable will not be displayed.
HideLabel ensures that this variable's label will not be displayed.
Label sets the label of the variable.
New creates a new "constant" templated variable.
Values sets the possible values for the variable.
![]() |
The pages are generated with Golds v0.8.2. (GOOS=linux GOARCH=amd64) Golds is a Go 101 project developed by Tapir Liu. PR and bug reports are welcome and can be submitted to the issue list. Please follow @zigo_101 (reachable from the left QR code) to get the latest news of Golds. |